MyGame.s6 = function(game) {
	
	

};


MyGame.s6.prototype = {
    create: function() {
    	
    	
		console.log('s5-VR')

        game.bg = game.add.image(0,0,'s6_bg');

       
        game.huoche =  game.add.image(0,672,'s6_huoche');
        game.huoche.anchor.set(1,0);
        game.bg.addChild(game.huoche);

        game.add.tween(game.huoche).to({x:game.world.width + 1420},4500,Phaser.Easing.Linear.None,true)
        

        game.langan = game.add.image(0,637,'s6_langan');
        game.bg.addChild(game.langan);




        game.add.tween(game.bg.scale).to({x:3,y:3},2000,Phaser.Easing.Linear.None,true,1000)
        game.add.tween(game.bg).to({x:'-1400',y:'-1400'},2000,Phaser.Easing.Linear.None,true,1000).onComplete.add(function(){
            game.state.start('s6_1')
        },this)


        GameUI.scenesfadeOut(2000,1000)

       

        

        GameUI.cutscenes()


       
        

       

    },


    

    update: function() {
    	
    	
    	
    },
    
    
    
    render : function(){
    	/*game.obstacles.forEach(function(item){
            game.debug.body(item);
        })
    	game.debug.body(game.player);*/
    }
};

